package com.fstart.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author Xibing
 * @since 2023-04-23
 */
@TableName("f_todo")
public class Todo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "todoList_id", type = IdType.AUTO)
    private Integer todolistId;

    private String todo;

    private Integer status;

    private LocalDateTime createTime;

    private LocalDateTime completeTime;

    private Integer userId;

    private LocalDateTime isNowDay;

    private Integer deleted;

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public LocalDateTime getIsNowDay() {
        return isNowDay;
    }

    public void setIsNowDay(LocalDateTime isNowDay) {
        this.isNowDay = isNowDay;
    }

    public Integer getTodolistId() {
        return todolistId;
    }

    public void setTodolistId(Integer todolistId) {
        this.todolistId = todolistId;
    }

    public String getTodo() {
        return todo;
    }

    public void setTodo(String todo) {
        this.todo = todo;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getCompleteTime() {
        return completeTime;
    }

    public void setCompleteTime(LocalDateTime completeTime) {
        this.completeTime = completeTime;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "Todo{" +
                "todolistId=" + todolistId +
                ", todo='" + todo + '\'' +
                ", status=" + status +
                ", createTime=" + createTime +
                ", completeTime=" + completeTime +
                ", userId=" + userId +
                ", isNowDay=" + isNowDay +
                ", deleted=" + deleted+
                '}';
    }
}
